package com.jin.domain;

import java.util.Objects;

/**
 * 判断题
 *
 * @Author <a href="mailto:lijing1@wxchina.com@wxchina.com">Lijin</a>
 * @Description:
 * @Create: 2021年6月21日
 */
public class FillItem {
    private String itemTitle;
    private String[] answers;
    private String id;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FillItem fillItem = (FillItem) o;
        return id.equals(fillItem.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return the itemTitle
     */
    public String getItemTitle() {
        return itemTitle;
    }

    /**
     * @param itemTitle the itemTitle to set
     */
    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    /**
     * @return the answers
     */
    public String[] getAnswers() {
        return answers;
    }

    /**
     * @param answers the answers to set
     */
    public void setAnswers(String[] answers) {
        this.answers = answers;
    }

}
